<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<title>员工管理系统</title>
</head>
<body>
<h2>Login</h2>
<form action="login" method="post">
	<label for="username">Username:</label>
	<input type="text" id="username" name="username"><br><br>
	<label for="password">Password:</label>
	<input type="password" id="password" name="password"><br><br>
	<input type="submit" value="Login">
</form>
<button><a href="selectAllEmp">查所有员工</a></button>
<button><a href="selectAllDept">查所有部门</a></button>
<button><a href="selectAllSalgrade">查所有职级</a></button>
<%if(session.getAttribute("error")!=null){%>
<p style="color:red "><%=session.getAttribute("error")%></p>
<%}%>

</body>

<script>

</script>
</html>